@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div style="display: none">
            <input type="hidden" id="id" value="">
            <input type="hidden" id="exeValue" value="exe">
            <input type="hidden" id="channelAuditLevel" value="${channelAuditLevel}">
        </div>
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="approvaling" onclick="ApprovalProcess.approvaling('exe')"><span>待审核</span></div>
            <div onclick="ApprovalProcess.approvaled('tri')"><span>已审核</span></div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>提交时间</span>
                    <input type="text" autocomplete="off" id="startTime"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endTime"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div id="examineTime" style="margin-left: 20px;">
                    <span>审核时间</span>
                    <input type="text" autocomplete="off" id="examineStartTime"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="examineEndTime"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div style="margin-left: 20px;">
                    <span>门诊</span>
                    <select id="outpatientName" title="请选择" name="outpatientName" onchange="ApprovalProcess.search()" style="width: 115px;">
                        <option value="">--请选择到店门诊--</option>
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div style="margin-left: 20px;">
                    <span>审核结果</span>
                    <select id="result" title="请选择" name="result" onchange="ApprovalProcess.search()"
                            style="width: 115px;">
                        <option value="">全部</option>
                        <option value="1">已同意</option>
                        <option value="2">未同意</option>
                    </select>
                </div>
                <div style="margin-left: 20px;">
                    <span>患者电话</span>
                    <input type="text" id="customerPhone" autocomplete="off" >
                </div>
                <div style="margin-left: 20px;">
                    <span>患者姓名</span>
                    <input type="text" id="customerName" autocomplete="off" >
                </div>
                <div>
                    <button type="button" class="btn" onclick="ApprovalProcess.search()"><span>搜索</span></button>
                    <button type="button" class="btn" onclick="ApprovalProcess.resetSearch()"><span>重置</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="ApprovalProcessTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/returnVisit/approval_process.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/marketing/reservations/marketSearchContent.js?v=20200718"></script>
@}